package com.example.springboot.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import dubbo.service.UserService;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;


@Component
@Service(interfaceName = "dubbo.service.UserService",version = "1.0.0",timeout = 15000)
public class StudentServiceImpl implements UserService {



    @Override
    public String say(String name) {

        //dao层查询
        Map<String,Object> map = new HashMap<>();
        map.put("msg","成功");

        return "aaaaaaaaaaaaaaaa";
    }
}
